<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>mc_color_pair</title>
<meta name='robots' content='noindex,nofollow' />
<meta name='generator' content='GLOBAL-6.5.7' />
<meta http-equiv='Content-Style-Type' content='text/css' />
<link rel='stylesheet' type='text/css' href='../style.css' />
</head>
<body>
<pre>
<span class='curline'><a href='../S/lib--tty--color-ncurses.c.html#L103'>mc_color_pair</a>     103 lib/tty/color-ncurses.c mc_tty_color_pair_init_special (tty_color_pair_t * mc_color_pair,</span>
<span class='curline'><a href='../S/lib--tty--color-ncurses.c.html#L107'>mc_color_pair</a>     107 lib/tty/color-ncurses.c         init_pair (mc_color_pair-&gt;pair_index, fg1, bg1);</span>
<span class='curline'><a href='../S/lib--tty--color-ncurses.c.html#L109'>mc_color_pair</a>     109 lib/tty/color-ncurses.c         init_pair (mc_color_pair-&gt;pair_index, fg2, bg2);</span>
<span class='curline'><a href='../S/lib--tty--color-ncurses.c.html#L110'>mc_color_pair</a>     110 lib/tty/color-ncurses.c     mc_tty_color_save_attr (mc_color_pair-&gt;pair_index, attr);</span>
<span class='curline'><a href='../S/lib--tty--color-ncurses.c.html#L145'>mc_color_pair</a>     145 lib/tty/color-ncurses.c tty_color_try_alloc_pair_lib (tty_color_pair_t * mc_color_pair)</span>
<span class='curline'><a href='../S/lib--tty--color-ncurses.c.html#L147'>mc_color_pair</a>     147 lib/tty/color-ncurses.c     if (mc_color_pair-&gt;ifg &lt;= (int) SPEC_A_REVERSE)</span>
<span class='curline'><a href='../S/lib--tty--color-ncurses.c.html#L149'>mc_color_pair</a>     149 lib/tty/color-ncurses.c         switch (mc_color_pair-&gt;ifg)</span>
<span class='curline'><a href='../S/lib--tty--color-ncurses.c.html#L152'>mc_color_pair</a>     152 lib/tty/color-ncurses.c             mc_tty_color_pair_init_special (mc_color_pair,</span>
<span class='curline'><a href='../S/lib--tty--color-ncurses.c.html#L157'>mc_color_pair</a>     157 lib/tty/color-ncurses.c             mc_tty_color_pair_init_special (mc_color_pair,</span>
<span class='curline'><a href='../S/lib--tty--color-ncurses.c.html#L162'>mc_color_pair</a>     162 lib/tty/color-ncurses.c             mc_tty_color_pair_init_special (mc_color_pair,</span>
<span class='curline'><a href='../S/lib--tty--color-ncurses.c.html#L167'>mc_color_pair</a>     167 lib/tty/color-ncurses.c             mc_tty_color_pair_init_special (mc_color_pair,</span>
<span class='curline'><a href='../S/lib--tty--color-ncurses.c.html#L179'>mc_color_pair</a>     179 lib/tty/color-ncurses.c         ifg = mc_color_pair-&gt;ifg;</span>
<span class='curline'><a href='../S/lib--tty--color-ncurses.c.html#L180'>mc_color_pair</a>     180 lib/tty/color-ncurses.c         ibg = mc_color_pair-&gt;ibg;</span>
<span class='curline'><a href='../S/lib--tty--color-ncurses.c.html#L181'>mc_color_pair</a>     181 lib/tty/color-ncurses.c         attr = mc_color_pair-&gt;attr;</span>
<span class='curline'><a href='../S/lib--tty--color-ncurses.c.html#L199'>mc_color_pair</a>     199 lib/tty/color-ncurses.c         init_pair (mc_color_pair-&gt;pair_index, ifg, ibg);</span>
<span class='curline'><a href='../S/lib--tty--color-ncurses.c.html#L200'>mc_color_pair</a>     200 lib/tty/color-ncurses.c         mc_tty_color_save_attr (mc_color_pair-&gt;pair_index, attr);</span>
<span class='curline'><a href='../S/lib--tty--color-slang.c.html#L99'>mc_color_pair</a>      99 lib/tty/color-slang.c mc_tty_color_pair_init_special (tty_color_pair_t * mc_color_pair,</span>
<span class='curline'><a href='../S/lib--tty--color-slang.c.html#L107'>mc_color_pair</a>     107 lib/tty/color-slang.c             SLtt_set_color (mc_color_pair-&gt;pair_index, (char *) "", (char *) fg1, (char *) bg1);</span>
<span class='curline'><a href='../S/lib--tty--color-slang.c.html#L111'>mc_color_pair</a>     111 lib/tty/color-slang.c             SLtt_set_color (mc_color_pair-&gt;pair_index, (char *) "", (char *) fg2, (char *) bg2);</span>
<span class='curline'><a href='../S/lib--tty--color-slang.c.html#L116'>mc_color_pair</a>     116 lib/tty/color-slang.c         SLtt_set_mono (mc_color_pair-&gt;pair_index, NULL, mask);</span>
<span class='curline'><a href='../S/lib--tty--color-slang.c.html#L145'>mc_color_pair</a>     145 lib/tty/color-slang.c tty_color_try_alloc_pair_lib (tty_color_pair_t * mc_color_pair)</span>
<span class='curline'><a href='../S/lib--tty--color-slang.c.html#L147'>mc_color_pair</a>     147 lib/tty/color-slang.c     if (mc_color_pair-&gt;ifg &lt;= (int) SPEC_A_REVERSE)</span>
<span class='curline'><a href='../S/lib--tty--color-slang.c.html#L149'>mc_color_pair</a>     149 lib/tty/color-slang.c         switch (mc_color_pair-&gt;ifg)</span>
<span class='curline'><a href='../S/lib--tty--color-slang.c.html#L152'>mc_color_pair</a>     152 lib/tty/color-slang.c             mc_tty_color_pair_init_special (mc_color_pair,</span>
<span class='curline'><a href='../S/lib--tty--color-slang.c.html#L156'>mc_color_pair</a>     156 lib/tty/color-slang.c             mc_tty_color_pair_init_special (mc_color_pair,</span>
<span class='curline'><a href='../S/lib--tty--color-slang.c.html#L160'>mc_color_pair</a>     160 lib/tty/color-slang.c             mc_tty_color_pair_init_special (mc_color_pair,</span>
<span class='curline'><a href='../S/lib--tty--color-slang.c.html#L165'>mc_color_pair</a>     165 lib/tty/color-slang.c             mc_tty_color_pair_init_special (mc_color_pair,</span>
<span class='curline'><a href='../S/lib--tty--color-slang.c.html#L176'>mc_color_pair</a>     176 lib/tty/color-slang.c         fg = tty_color_get_name_by_index (mc_color_pair-&gt;ifg);</span>
<span class='curline'><a href='../S/lib--tty--color-slang.c.html#L177'>mc_color_pair</a>     177 lib/tty/color-slang.c         bg = tty_color_get_name_by_index (mc_color_pair-&gt;ibg);</span>
<span class='curline'><a href='../S/lib--tty--color-slang.c.html#L178'>mc_color_pair</a>     178 lib/tty/color-slang.c         SLtt_set_color (mc_color_pair-&gt;pair_index, (char *) "", (char *) fg, (char *) bg);</span>
<span class='curline'><a href='../S/lib--tty--color-slang.c.html#L179'>mc_color_pair</a>     179 lib/tty/color-slang.c         SLtt_add_color_attribute (mc_color_pair-&gt;pair_index, mc_color_pair-&gt;attr);</span>
<span class='curline'><a href='../S/lib--tty--color.c.html#L71'>mc_color_pair</a>      71 lib/tty/color.c     tty_color_pair_t *mc_color_pair;</span>
<span class='curline'><a href='../S/lib--tty--color.c.html#L75'>mc_color_pair</a>      75 lib/tty/color.c     mc_color_pair = (tty_color_pair_t *) value;</span>
<span class='curline'><a href='../S/lib--tty--color.c.html#L76'>mc_color_pair</a>      76 lib/tty/color.c     return (mc_color_pair-&gt;is_temp == is_temp_color);</span>
<span class='curline'><a href='../S/lib--tty--color.c.html#L94'>mc_color_pair</a>      94 lib/tty/color.c     tty_color_pair_t *mc_color_pair;</span>
<span class='curline'><a href='../S/lib--tty--color.c.html#L98'>mc_color_pair</a>      98 lib/tty/color.c     mc_color_pair = (tty_color_pair_t *) value;</span>
<span class='curline'><a href='../S/lib--tty--color.c.html#L100'>mc_color_pair</a>     100 lib/tty/color.c     return (cp == mc_color_pair-&gt;pair_index);</span>
<span class='curline'><a href='../S/lib--tty--color.c.html#L158'>mc_color_pair</a>     158 lib/tty/color.c     tty_color_pair_t *mc_color_pair;</span>
<span class='curline'><a href='../S/lib--tty--color.c.html#L176'>mc_color_pair</a>     176 lib/tty/color.c     mc_color_pair =</span>
<span class='curline'><a href='../S/lib--tty--color.c.html#L179'>mc_color_pair</a>     179 lib/tty/color.c     if (mc_color_pair != NULL)</span>
<span class='curline'><a href='../S/lib--tty--color.c.html#L182'>mc_color_pair</a>     182 lib/tty/color.c         return mc_color_pair-&gt;pair_index;</span>
<span class='curline'><a href='../S/lib--tty--color.c.html#L185'>mc_color_pair</a>     185 lib/tty/color.c     mc_color_pair = g_try_new0 (tty_color_pair_t, 1);</span>
<span class='curline'><a href='../S/lib--tty--color.c.html#L186'>mc_color_pair</a>     186 lib/tty/color.c     if (mc_color_pair == NULL)</span>
<span class='curline'><a href='../S/lib--tty--color.c.html#L192'>mc_color_pair</a>     192 lib/tty/color.c     mc_color_pair-&gt;is_temp = is_temp_color;</span>
<span class='curline'><a href='../S/lib--tty--color.c.html#L193'>mc_color_pair</a>     193 lib/tty/color.c     mc_color_pair-&gt;ifg = ifg;</span>
<span class='curline'><a href='../S/lib--tty--color.c.html#L194'>mc_color_pair</a>     194 lib/tty/color.c     mc_color_pair-&gt;ibg = ibg;</span>
<span class='curline'><a href='../S/lib--tty--color.c.html#L195'>mc_color_pair</a>     195 lib/tty/color.c     mc_color_pair-&gt;attr = attr;</span>
<span class='curline'><a href='../S/lib--tty--color.c.html#L196'>mc_color_pair</a>     196 lib/tty/color.c     mc_color_pair-&gt;pair_index = tty_color_get_next__color_pair_number ();</span>
<span class='curline'><a href='../S/lib--tty--color.c.html#L198'>mc_color_pair</a>     198 lib/tty/color.c     tty_color_try_alloc_pair_lib (mc_color_pair);</span>
<span class='curline'><a href='../S/lib--tty--color.c.html#L200'>mc_color_pair</a>     200 lib/tty/color.c     g_hash_table_insert (mc_tty_color__hashtable, (gpointer) color_pair, (gpointer) mc_color_pair);</span>
<span class='curline'><a href='../S/lib--tty--color.c.html#L202'>mc_color_pair</a>     202 lib/tty/color.c     return mc_color_pair-&gt;pair_index;</span>
</pre>
</body>
</html>
